package com.hskn.hss.module.empPlan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.hskn.hss.module.empPlanDate.entity.EmpPlanDate;
import com.hskn.hss.module.empPlanEmployee.entity.EmpPlanEmployee;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author hskn
 * @since 2021-05-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class EmpPlan implements Serializable {

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;
    /**
     * 计划名称
     */
    private String planName;

    /**
     * 网格id
     */
    private String gridId;

    private String departmentId;

    /**
     * 作业规则id
     */
    private String workRuleId;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 修改时间
     */
    private String updateTime;


    @TableField(exist = false)
    List<EmpPlanEmployee> empPlanEmployeeList = new ArrayList<>();

    @TableField(exist = false)
    List<EmpPlanDate> empPlanDateList = new ArrayList<>();


}
